import axios from 'axios'
const request = axios.create({
  timeout: 6000,
})
request.interceptors.request.use(
  (config) => {
    return config
  },
  (err) => {
    return err
  }
)
request.interceptors.response.use(
  (res) => {
    return res
  },
  (err) => {
    return err
  }
)
export default request
